Skip to content

build: publish Electron output outside the project folder - #6

Merged
xnodeoncode merged 1 commit into
xnodeoncode:developmentfrom
xskcdf:development
Nov 12, 2026
Merged

xnodeoncode merged 1 commit into
xnodeoncode:developmentfrom
xskcdf:development

Conversation

@xskcdf

@xskcdf xskcdf commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

Publish profiles now write to the user's Downloads\Nine\Publish folder so the output is not globbed into the next build and nested recursively, which produced over-long paths and MSB3030 copy errors.

Publish profiles now write to the user's Downloads\Nine\Publish folder so
the output is not globbed into the next build and nested recursively, which
produced over-long paths and MSB3030 copy errors.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@xskcdf
xskcdf requested review from xnodeoncode and a balanced review from Copilot November 12, 2026 21:47
@xskcdf xskcdf self-assigned this Nov 12, 2026
@xskcdf xskcdf added the v1.2.0 label Nov 12, 2026

@xnodeoncode xnodeoncode left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit changes the output directory or published files only.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The Linux publish profile relies on HOME, which is normally unset on Windows hosts, causing output to target the drive root and potentially fail with access denied instead of using the user's Downloads folder.

1 open issue
What changed in this PR

Moves publish destinations outside the project folder to prevent recursive inclusion of previous output, over-long paths, and MSB3030 copy errors.

Changes:

  • Redirects Windows output to $(USERPROFILE)\Downloads\Nine\Publish.
  • Redirects Linux output to $(HOME)/Downloads/Nine/Publish.
  • Preserves configuration, framework, and runtime subfolders.
File Description
4-Nine/​Properties/​PublishProfiles/​win-x64.pubxml Changes the Windows publish destination to the user's Downloads folder.
4-Nine/​Properties/​PublishProfiles/​linux-x64.pubxml Changes the Linux publish destination to a HOME-based Downloads folder.

Review effort: Balanced

@xnodeoncode
xnodeoncode merged commit d0e676b into xnodeoncode:development Nov 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants